package ar.com.equis.flexjavaintegration.arquitectura;

import ar.com.equis.flexjavaintegration.dao.ClienteDAO;


public class DAOLocator {

	private static DAOLocator INSTANCE;
	private ClienteDAO clienteDAO;
	
	
	private DAOLocator() {
		super();
	}



	public static DAOLocator getInstance(){
		if(INSTANCE==null){
			INSTANCE = new DAOLocator();
		}
		return INSTANCE;
	}



	public static ClienteDAO getClienteDAO() {
		return INSTANCE.clienteDAO;
	}



	public void setClienteDAO(ClienteDAO clienteDAO) {
		this.clienteDAO = clienteDAO;
	}
	
	
}
	
	
